<template>
  <button @click="increment">xxxxx</button>
</template>

<script>

export default {
  name: 'App',
  components: { },
  methods: {
    increment () {
      console.log('reach')
      this.$store.commit('increment')
      console.log(this.$store.state.count)
    }
  }

}
</script>

<style>
html {
  width: 400px;
  height: 400px;
}
</style>
